package dao;

import vo.Equipment;

import java.util.HashMap;

public interface EquipmentDao {
    public static final int ADD_EQUIPMENT_NUM = 1;
    public static final int SUBSTRACT_EQUIPMENT_NUM = 2;
    //该接口是对于User进行基本增删改查的功能
    public Equipment selectByID(int id);
    public boolean deleteByID(int id);
    public HashMap selectAll();
    public boolean updateById(Equipment equipment, int id);
    public boolean insertEquipment(Equipment equipment);
    public boolean changeEquipment(int id,int num,int handle_way);
}
